package com.canxin.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 成绩信息表
 * @author zhangdaihao
 * @date 2017-03-05 22:59:44
 * @version V1.0   
 *
 */
@Entity
@Table(name = "canxin_score", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class ScoreEntity implements java.io.Serializable {
	/**examid*/
	private java.lang.String examid;
	/**studentid*/
	private java.lang.String studentid;
	/**studentname*/
	private java.lang.String studentname;
	/**chinese*/
	private java.lang.Double chinese;
	/**chineserank*/
	private java.lang.String chineserank;
	/**math*/
	private java.lang.Double math;
	/**mathrank*/
	private java.lang.String mathrank;
	/**english*/
	private java.lang.Double english;
	/**englishrank*/
	private java.lang.String englishrank;
	/**political*/
	private java.lang.Double political;
	/**politicalrank*/
	private java.lang.String politicalrank;
	/**history*/
	private java.lang.Double history;
	/**historyrank*/
	private java.lang.String historyrank;
	/**geo*/
	private java.lang.Double geo;
	/**georank*/
	private java.lang.String georank;
	/**bio*/
	private java.lang.Double bio;
	/**biorank*/
	private java.lang.String biorank;
	/**chemical*/
	private java.lang.Double chemical;
	/**chemicalrank*/
	private java.lang.String chemicalrank;
	/**physical*/
	private java.lang.Double physical;
	/**physicalrank*/
	private java.lang.String physicalrank;
	/**pe*/
	private java.lang.Double pe;
	/**perank*/
	private java.lang.String perank;
	/**other*/
	private java.lang.Double other;
	/**totalscore*/
	private java.lang.Double totalscore;
	/**rank*/
	private java.lang.Integer rank;
	/**remark*/
	private java.lang.String remark;
	
	private String examName;
	public String getExamName() {
		return examName;
	}

	public void setExamName(String examName) {
		this.examName = examName;
	}

	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  examid
	 */
	@Column(name ="EXAMID",nullable=false,length=64)
	public java.lang.String getExamid(){
		return this.examid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  examid
	 */
	public void setExamid(java.lang.String examid){
		this.examid = examid;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  studentid
	 */
	@Column(name ="STUDENTID",nullable=false,length=128)
	public java.lang.String getStudentid(){
		return this.studentid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  studentid
	 */
	public void setStudentid(java.lang.String studentid){
		this.studentid = studentid;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  studentname
	 */
	@Column(name ="STUDENTNAME",nullable=true,length=128)
	public java.lang.String getStudentname(){
		return this.studentname;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  studentname
	 */
	public void setStudentname(java.lang.String studentname){
		this.studentname = studentname;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  chinese
	 */
	@Column(name ="CHINESE",nullable=true,precision=22)
	public java.lang.Double getChinese(){
		return this.chinese;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  chinese
	 */
	public void setChinese(java.lang.Double chinese){
		this.chinese = chinese;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  chineserank
	 */
	@Column(name ="CHINESERANK",nullable=true,length=8)
	public java.lang.String getChineserank(){
		return this.chineserank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  chineserank
	 */
	public void setChineserank(java.lang.String chineserank){
		this.chineserank = chineserank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  math
	 */
	@Column(name ="MATH",nullable=true,precision=22)
	public java.lang.Double getMath(){
		return this.math;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  math
	 */
	public void setMath(java.lang.Double math){
		this.math = math;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  mathrank
	 */
	@Column(name ="MATHRANK",nullable=true,length=8)
	public java.lang.String getMathrank(){
		return this.mathrank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  mathrank
	 */
	public void setMathrank(java.lang.String mathrank){
		this.mathrank = mathrank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  english
	 */
	@Column(name ="ENGLISH",nullable=true,precision=22)
	public java.lang.Double getEnglish(){
		return this.english;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  english
	 */
	public void setEnglish(java.lang.Double english){
		this.english = english;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  englishrank
	 */
	@Column(name ="ENGLISHRANK",nullable=true,length=8)
	public java.lang.String getEnglishrank(){
		return this.englishrank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  englishrank
	 */
	public void setEnglishrank(java.lang.String englishrank){
		this.englishrank = englishrank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  political
	 */
	@Column(name ="POLITICAL",nullable=true,precision=22)
	public java.lang.Double getPolitical(){
		return this.political;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  political
	 */
	public void setPolitical(java.lang.Double political){
		this.political = political;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  politicalrank
	 */
	@Column(name ="POLITICALRANK",nullable=true,length=8)
	public java.lang.String getPoliticalrank(){
		return this.politicalrank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  politicalrank
	 */
	public void setPoliticalrank(java.lang.String politicalrank){
		this.politicalrank = politicalrank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  history
	 */
	@Column(name ="HISTORY",nullable=true,precision=22)
	public java.lang.Double getHistory(){
		return this.history;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  history
	 */
	public void setHistory(java.lang.Double history){
		this.history = history;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  historyrank
	 */
	@Column(name ="HISTORYRANK",nullable=true,length=8)
	public java.lang.String getHistoryrank(){
		return this.historyrank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  historyrank
	 */
	public void setHistoryrank(java.lang.String historyrank){
		this.historyrank = historyrank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  geo
	 */
	@Column(name ="GEO",nullable=true,precision=22)
	public java.lang.Double getGeo(){
		return this.geo;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  geo
	 */
	public void setGeo(java.lang.Double geo){
		this.geo = geo;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  georank
	 */
	@Column(name ="GEORANK",nullable=true,length=8)
	public java.lang.String getGeorank(){
		return this.georank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  georank
	 */
	public void setGeorank(java.lang.String georank){
		this.georank = georank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  bio
	 */
	@Column(name ="BIO",nullable=true,precision=22)
	public java.lang.Double getBio(){
		return this.bio;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  bio
	 */
	public void setBio(java.lang.Double bio){
		this.bio = bio;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  biorank
	 */
	@Column(name ="BIORANK",nullable=true,length=8)
	public java.lang.String getBiorank(){
		return this.biorank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  biorank
	 */
	public void setBiorank(java.lang.String biorank){
		this.biorank = biorank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  chemical
	 */
	@Column(name ="CHEMICAL",nullable=true,precision=22)
	public java.lang.Double getChemical(){
		return this.chemical;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  chemical
	 */
	public void setChemical(java.lang.Double chemical){
		this.chemical = chemical;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  chemicalrank
	 */
	@Column(name ="CHEMICALRANK",nullable=true,length=8)
	public java.lang.String getChemicalrank(){
		return this.chemicalrank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  chemicalrank
	 */
	public void setChemicalrank(java.lang.String chemicalrank){
		this.chemicalrank = chemicalrank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  physical
	 */
	@Column(name ="PHYSICAL",nullable=true,precision=22)
	public java.lang.Double getPhysical(){
		return this.physical;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  physical
	 */
	public void setPhysical(java.lang.Double physical){
		this.physical = physical;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  physicalrank
	 */
	@Column(name ="PHYSICALRANK",nullable=true,length=8)
	public java.lang.String getPhysicalrank(){
		return this.physicalrank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  physicalrank
	 */
	public void setPhysicalrank(java.lang.String physicalrank){
		this.physicalrank = physicalrank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  pe
	 */
	@Column(name ="PE",nullable=true,precision=22)
	public java.lang.Double getPe(){
		return this.pe;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  pe
	 */
	public void setPe(java.lang.Double pe){
		this.pe = pe;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  perank
	 */
	@Column(name ="PERANK",nullable=true,length=8)
	public java.lang.String getPerank(){
		return this.perank;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  perank
	 */
	public void setPerank(java.lang.String perank){
		this.perank = perank;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  other
	 */
	@Column(name ="OTHER",nullable=true,precision=22)
	public java.lang.Double getOther(){
		return this.other;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  other
	 */
	public void setOther(java.lang.Double other){
		this.other = other;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  totalscore
	 */
	@Column(name ="TOTALSCORE",nullable=true,precision=22)
	public java.lang.Double getTotalscore(){
		return this.totalscore;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  totalscore
	 */
	public void setTotalscore(java.lang.Double totalscore){
		this.totalscore = totalscore;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  rank
	 */
	@Column(name ="RANK",nullable=true,precision=10,scale=0)
	public java.lang.Integer getRank(){
		return this.rank;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  rank
	 */
	public void setRank(java.lang.Integer rank){
		this.rank = rank;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  remark
	 */
	@Column(name ="REMARK",nullable=true,length=255)
	public java.lang.String getRemark(){
		return this.remark;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  remark
	 */
	public void setRemark(java.lang.String remark){
		this.remark = remark;
	}
	
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private int id;
}
